Fix a serialization error on publish
authorAlex Crichton <alex@alexcrichton.com>
Mon, 22 May 2017 15:56:27 +0000 (08:56 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Mon, 22 May 2017 20:16:53 +0000 (13:16 -0700)
commitd1e70e49b3096d5923f5eee854b616835f6fd9ad
tree3676d32b86b7fd3913683b0bbbb2a70115a4169c
parent483e0ab0e639056fc04a906fb3f9f4b7beea4b92
Fix a serialization error on publish

In TOML we have to emit all keys before we emit all sub-tables, so to handle
that for dependencies just transform everything to an elaborated version.

Closes #4081
src/cargo/util/toml.rs
tests/package.rs